package com.heima.bank_system;

public class Bank extends BankAccount {

    public Bank(String accountNumber, double balance) {
        super(accountNumber, balance);
    }

    @Override
    public void withdraw() {
        System.out.println("账户号码为" + getAccountNumber() + "余额为" + getBalance() + "的用户取款成功");
    }
}
